package com.park.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.park.model.ParkRecordData;
import com.park.model.PosChargeData;

public interface ParkRecordDataService {

	List<ParkRecordData> getParkingByParkDatetime(Map<String, Object> map);

	int getParkingAllCount(Map<String, Object> map);

	List<ParkRecordData> getParkingByParkId(Map<String, Object> map);

	int getParkingAllCountById(Map<String, Object> map);

	List<ParkRecordData> getByParkId(Map<String, Object> map);

	int getAllCountById(Map<String, Object> map);

	int insert(ParkRecordData parkRecordData);

	ParkRecordData getById(Integer id);

	double getPaidMoneyOfDay(List<Long> ids);

	List<Double> getWeekPaidMoney(List<Long> ids);

	List<PosChargeData> getAllParkRecord(List<Long> ids, int parkId, Date entranceStart1, Date entranceEnd1, Date exitStart1,
			Date exitEnd1, String plateNumber, String portNumber, String operatorId);

	double getAllPaidMoney();

	int insertV2(PosChargeData charge);

	List<PosChargeData> getLastRecordWithPark(String cardNumber, int i, Integer parkId);

}
